﻿<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8" />
    <title>@ViewBag.Title</title>
    <link href="~/favicon.png" rel="shortcut icon" type="image/x-icon" />
    <meta name="viewport" content="width=device-width" />
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
    <!--toegevoegd voor picker  -->
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.core.css")" 
        rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.datepicker.css")" 
        rel="stylesheet"  type="text/css" />
    <link href="@Url.Content("~/Content/themes/base/jquery.ui.theme.css")" 
        rel="stylesheet" type="text/css" />

    <script src="@Url.Content("~/Scripts/jquery.ui.core.min.js")" 
        type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery.ui.datepicker.min.js")" 
        type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/DatePickerReady.js")" 
        type="text/javascript"></script>

</head>

<body>
    <header>
        <div class="content-wrapper">
            <div class="float-right">
                <nav>
                    <ul id="menu">
                        <li>@Html.ActionLink("Home", "Index", "Home")</li>
                        @if (User.Identity.IsAuthenticated) //Ingelogd
                        {
                            <li>@Html.ActionLink("Plaats Veiling", "Index", "PlaatsVeiling")</li>
                        }
                        <li>@Html.ActionLink("Zoek Veilingen", "Index", "Veiling")</li>
                        <li>@Html.ActionLink("About", "Index", "About")</li>
                        <!-- "weergave test", "naam bestand", "naam folder" -->
                        <li>@Html.ActionLink("Contact", "Index", "Contact")</li>
                        @if (User.IsInRole("administrator")) //Ingelogd als administrator
                        {
                            <li>@Html.ActionLink("Admin", "Index", "Admin")</li>
                        }
                    </ul>
                    <div style="clear: both;"></div>
                    <div id="language">
                        <a href="@Url.Action("ChangeCulture", "Home", new { lang = "nl" })">Nederlands</a> |
                            <a href="@Url.Action("ChangeCulture", "Home", new { lang = "en" })">English</a>
                    </div>
                </nav>
            </div>
        </div>
    </header>

    <div style="clear: both; margin-bottom: 6%;"></div>

    <div id="wrapper">
        <div id="page">
            <div id="page-bgtop">
                <div id="page-bgbtm">
                    @if (TempData["notice"] != null)
                    {
                        <h2>@TempData["notice"]</h2>
                    }

                    @RenderSection("featured", required: false)
                    <section class="content-wrapper main-content clear-fix">
                        @RenderBody()
                    </section>


                </div>
                <!-- einde afbeelding bruin onder -->
            </div>
            <!-- einde afbeelding groen boven -->
        </div>
        <!-- einde page -->
        <footer>
            <div class="content-wrapper">
                <div class="float-left">
                    <p>&copy; @DateTime.Now.Year - Veilingsite. Gemaakt door Anke Appeltans, Sien Schoofs en Steven Verheyen voor het vak .NET Expert.</p>
                </div>
            </div>
        </footer>
    </div>
    <!-- einde wrapper -->

    @Scripts.Render("~/bundles/veilingsite")
    @RenderSection("scripts", required: false)
</body>
</html>
